using DataDynamics.ActiveReports;
using DataDynamics.ActiveReports.Options;
using DDCssLib;
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Resources;
namespace TVSBH.func
{
	public class frmPrintBarcode : ActiveReport3
	{
		public static DataTable objTable;
		private PageHeader pageHeader;
		private Detail detail;
		private PageFooter pageFooter;
		private Barcode barcode1;
		private Barcode barcode2;
		private Barcode barcode3;
		private TextBox textBox1;
		private TextBox textBox2;
		private TextBox textBox3;
		public frmPrintBarcode()
		{
			this.InitializeComponent();
			base.DataSource = frmPrintBarcode.objTable;
		}
		protected override void Dispose(bool disposing)
		{
			if (disposing)
			{
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			ResourceManager resourceManager = new ResourceManager(typeof(frmPrintBarcode));
			this.pageHeader = new PageHeader();
			this.detail = new Detail();
			this.barcode1 = new Barcode();
			this.barcode2 = new Barcode();
			this.barcode3 = new Barcode();
			this.textBox1 = new TextBox();
			this.textBox2 = new TextBox();
			this.textBox3 = new TextBox();
			this.pageFooter = new PageFooter();
			((ISupportInitialize)this.textBox1).BeginInit();
			((ISupportInitialize)this.textBox2).BeginInit();
			((ISupportInitialize)this.textBox3).BeginInit();
			((ISupportInitialize)this).BeginInit();
			this.pageHeader.Height = 0.25f;
			this.pageHeader.Name = "pageHeader";
			this.detail.ColumnSpacing = 0f;
			this.detail.Controls.AddRange(new ARControl[]
			{
				this.barcode1,
				this.barcode2,
				this.barcode3,
				this.textBox1,
				this.textBox2,
				this.textBox3
			});
			this.detail.Height = 0.8645833f;
			this.detail.Name = "detail";
			this.barcode1.Border.BottomColor = Color.Black;
			this.barcode1.Border.BottomStyle = BorderLineStyle.None;
			this.barcode1.Border.LeftColor = Color.Black;
			this.barcode1.Border.LeftStyle = BorderLineStyle.None;
			this.barcode1.Border.RightColor = Color.Black;
			this.barcode1.Border.RightStyle = BorderLineStyle.None;
			this.barcode1.Border.TopColor = Color.Black;
			this.barcode1.Border.TopStyle = BorderLineStyle.None;
			this.barcode1.CaptionPosition = BarCodeCaptionPosition.Below;
			this.barcode1.DataField = "objClmBarcode";
			this.barcode1.Font = new Font("Courier New", 8f);
			this.barcode1.Height = 0.5f;
			this.barcode1.Left = 0.01041667f;
			this.barcode1.Name = "barcode1";
			this.barcode1.PDF417.Column = 3;
			this.barcode1.QRCode.Model = QRCodeModel.Model1;
			this.barcode1.Style = BarCodeStyle.EAN_13;
			this.barcode1.Text = "barcode1";
			this.barcode1.Top = 0.3125f;
			this.barcode1.Width = 1.239583f;
			this.barcode2.Border.BottomColor = Color.Black;
			this.barcode2.Border.BottomStyle = BorderLineStyle.None;
			this.barcode2.Border.LeftColor = Color.Black;
			this.barcode2.Border.LeftStyle = BorderLineStyle.None;
			this.barcode2.Border.RightColor = Color.Black;
			this.barcode2.Border.RightStyle = BorderLineStyle.None;
			this.barcode2.Border.TopColor = Color.Black;
			this.barcode2.Border.TopStyle = BorderLineStyle.None;
			this.barcode2.CaptionPosition = BarCodeCaptionPosition.Below;
			this.barcode2.DataField = "objClmBarcode";
			this.barcode2.Font = new Font("Courier New", 8f);
			this.barcode2.Height = 0.5f;
			this.barcode2.Left = 1.385417f;
			this.barcode2.Name = "barcode2";
			this.barcode2.PDF417.Column = 3;
			this.barcode2.Style = BarCodeStyle.EAN_13;
			this.barcode2.Text = "barcode1";
			this.barcode2.Top = 0.3125f;
			this.barcode2.Width = 1.239583f;
			this.barcode3.Border.BottomColor = Color.Black;
			this.barcode3.Border.BottomStyle = BorderLineStyle.None;
			this.barcode3.Border.LeftColor = Color.Black;
			this.barcode3.Border.LeftStyle = BorderLineStyle.None;
			this.barcode3.Border.RightColor = Color.Black;
			this.barcode3.Border.RightStyle = BorderLineStyle.None;
			this.barcode3.Border.TopColor = Color.Black;
			this.barcode3.Border.TopStyle = BorderLineStyle.None;
			this.barcode3.CaptionPosition = BarCodeCaptionPosition.Below;
			this.barcode3.DataField = "objClmBarcode";
			this.barcode3.Font = new Font("Courier New", 8f);
			this.barcode3.Height = 0.5f;
			this.barcode3.Left = 2.760417f;
			this.barcode3.Name = "barcode3";
			this.barcode3.PDF417.Column = 3;
			this.barcode3.Style = BarCodeStyle.EAN_13;
			this.barcode3.Text = "barcode1";
			this.barcode3.Top = 0.3125f;
			this.barcode3.Width = 1.239583f;
			this.textBox1.Border.BottomColor = Color.Black;
			this.textBox1.Border.BottomStyle = BorderLineStyle.None;
			this.textBox1.Border.LeftColor = Color.Black;
			this.textBox1.Border.LeftStyle = BorderLineStyle.None;
			this.textBox1.Border.RightColor = Color.Black;
			this.textBox1.Border.RightStyle = BorderLineStyle.None;
			this.textBox1.Border.TopColor = Color.Black;
			this.textBox1.Border.TopStyle = BorderLineStyle.None;
			this.textBox1.DataField = "objClmName";
			this.textBox1.Height = 0.1979167f;
			this.textBox1.Left = 0f;
			this.textBox1.Name = "textBox1";
			this.textBox1.Style = "text-align: center; font-size: 9pt; vertical-align: middle; ";
			this.textBox1.Text = null;
			this.textBox1.Top = 0.0625f;
			this.textBox1.Width = 1.239583f;
			this.textBox2.Border.BottomColor = Color.Black;
			this.textBox2.Border.BottomStyle = BorderLineStyle.None;
			this.textBox2.Border.LeftColor = Color.Black;
			this.textBox2.Border.LeftStyle = BorderLineStyle.None;
			this.textBox2.Border.RightColor = Color.Black;
			this.textBox2.Border.RightStyle = BorderLineStyle.None;
			this.textBox2.Border.TopColor = Color.Black;
			this.textBox2.Border.TopStyle = BorderLineStyle.None;
			this.textBox2.DataField = "objClmName";
			this.textBox2.Height = 0.1979167f;
			this.textBox2.Left = 1.385417f;
			this.textBox2.Name = "textBox2";
			this.textBox2.Style = "text-align: center; font-size: 9pt; vertical-align: middle; ";
			this.textBox2.Text = null;
			this.textBox2.Top = 0.0625f;
			this.textBox2.Width = 1.239583f;
			this.textBox3.Border.BottomColor = Color.Black;
			this.textBox3.Border.BottomStyle = BorderLineStyle.None;
			this.textBox3.Border.LeftColor = Color.Black;
			this.textBox3.Border.LeftStyle = BorderLineStyle.None;
			this.textBox3.Border.RightColor = Color.Black;
			this.textBox3.Border.RightStyle = BorderLineStyle.None;
			this.textBox3.Border.TopColor = Color.Black;
			this.textBox3.Border.TopStyle = BorderLineStyle.None;
			this.textBox3.DataField = "objClmName";
			this.textBox3.Height = 0.1979167f;
			this.textBox3.Left = 2.760417f;
			this.textBox3.Name = "textBox3";
			this.textBox3.Style = "text-align: center; font-size: 9pt; vertical-align: middle; ";
			this.textBox3.Text = null;
			this.textBox3.Top = 0.0625f;
			this.textBox3.Width = 1.239583f;
			this.pageFooter.Height = 0.01041667f;
			this.pageFooter.Name = "pageFooter";
			base.MasterReport = false;
			base.PageSettings.DefaultPaperSize = false;
			base.PageSettings.Margins.Bottom = 0.03937008f;
			base.PageSettings.Margins.Left = 0.04724409f;
			base.PageSettings.Margins.Right = 0.01968504f;
			base.PageSettings.Margins.Top = 0.03937008f;
			base.PageSettings.PaperHeight = 9.5f;
            //base.PageSettings.PaperKind = 20;
			base.PageSettings.PaperWidth = 4.125f;
			base.PrintWidth = 4.010417f;
			base.Sections.Add(this.pageHeader);
			base.Sections.Add(this.detail);
			base.Sections.Add(this.pageFooter);
			base.StyleSheet.Add(new StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: normal; font-size: 10pt; color: Black; ddo-char-set: 204; ", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-size: 16pt; font-weight: bold; ddo-char-set: 204; ", "Heading1", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-family: Times New Roman; font-size: 14pt; font-weight: bold; font-style: italic; ddo-char-set: 204; ", "Heading2", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-size: 13pt; font-weight: bold; ddo-char-set: 204; ", "Heading3", "Normal"));
			((ISupportInitialize)this.textBox1).EndInit();
			((ISupportInitialize)this.textBox2).EndInit();
			((ISupportInitialize)this.textBox3).EndInit();
			((ISupportInitialize)this).EndInit();
		}
	}
}
